import request from '@/utils/request'
/*角色分配查看 */
export function tree(data) {
  return request({
    url: '/userrole/tree',
    method: 'post',
    data
  })
}
/*角色分配*/
export function treeinsert(data) {
  return request({
    url: '/userrole/ins',
    method: 'post',
    data
  })
}
/*角色移出*/
export function treedels(data) {
  return request({
    url: '/userrole/dels',
    method: 'post',
    data
  })
}

